home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000059_fdc@columbia.edu_Wed Dec 10 12:50:22 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: password query fails
  5. Date: 10 Dec 2003 17:49:19 GMT
  6. Organization: Columbia University
  7. Lines: 35
  8. Message-ID: <slrnbten4v.81m.fdc@sesame.cc.columbia.edu>
  9. References: <br7ila$761g$1@uni-berlin.de>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1071078559 1239 128.59.59.56 (10 Dec 2003 17:49:19 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 10 Dec 2003 17:49:19 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14735
  17.  
  18. In article <br7ila$761g$1@uni-berlin.de>, Michael Poser wrote:
  19. : fist of all, iam a kermit newbie.
  20. : I want to write a script that restarts every night the Accesspoints of
  21. : our University (round about 40). It seems to be easy, but i have a few
  22. : problems:
  23. : The password query works a few times only , sometimes it works,
  24. : sometimes it fails (But if the password query was successfull, the rest
  25. : of the script works fine). I dont know why (If i set a pause between
  26. : in+output it fails to 100 percent). If i take a look at \v(input) it
  27. : shows no diferrence between a succesfull login or a bad login. It shows
  28. : always:
  29.  
  30. :  <- It seems to be strange to me, why is it so cryptic,
  31. : why is it not "password:"??
  32. This is explained in "Using C-Kermit" on page 429 (English edition).
  33. In some cases, escape sequences can interfere with INPUT matching.
  34. You have to write your INPUT command in a way that allows for the
  35. escape sequences.  To find out what the host is really sending and in
  36. what sequence, use "log session" to record your login, and then write
  37. your script according to what you find there.
  38.  
  39. An easier to do this might be to let Kermit write the script for you:
  40.  
  41.   learn /on script.ksc
  42.  
  43. then perform the login sequence by hand, then:
  44.  
  45.   learn /close
  46.  
  47. Then look at the script.ksc file to see what it wrote.
  48.  
  49. - Frank
  50.